package basic.com.liz.learn.design.decorator;

public class DecoratorImpl implements Source
{
    private Source source;
    
    public DecoratorImpl(Source source)
    {
        super();
        this.source = source;
    }
    
    @Override
    public void method()
    {
        System.out.println("开始装饰");
        source.method();
        System.out.println("结束装饰");
        
    }
}
